package com.hotel.websocketsystem.pojo;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (CustomerServiceMessage)表实体类
 * @author makejava
 * @since 2022-11-01 19:18:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_service_message")
public class CustomerServiceMessage implements Serializable {
    private static final long serialVersionUID = -1683892245904440801L;
    //消息id
    private Integer messageId;
    //用户1账号
    private String userAdmin01;
    //用户2账号
    private String userAdmin02;
    //消息体
    private String message;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //失效时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime overTime;
    //备用字段1
    private String spare01;
    //备用字段2
    private String spare02;

}

